package qiyu.im.core.server.enums;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-07
 * Time: 16:50
 */
public enum ImMsgCodeEnum {
    IM_LOGIN_MSG(1001, "登陆消息包"),
    IM_LOGOUT_MSG(1002, "登出消息包"),
    IM_BIZ_MSG(1003, "业务消息包"),
    IM_HEARTBEAT_MSG(1004, "心跳消息包");

    int code;
    String msg;

    ImMsgCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}